package com.aspose.cells;

import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;

public class ContentTypeProperty {
   ContentTypePropertyCollection a;
   int b;
   String c;
   String d;
   String e;
   ArrayList f;
   private String m;
   String g = null;
   String h = null;
   String i = null;
   HashMap j = null;
   Object k;
   String l;

   HashMap a() {
      if (this.j == null) {
         this.j = new HashMap();
      }

      return this.j;
   }

   ContentTypeProperty(ContentTypePropertyCollection ctps) {
      this.a = ctps;
      this.f = new ArrayList();
      this.c = ctps.b;
      ++ctps.c;
      this.b = ctps.c;
   }

   void a(ContentTypeProperty var1) {
      this.i = var1.i;
      this.g = var1.g;
      this.b = var1.b;
      this.h = var1.h;
      this.d = var1.d;
      com.aspose.cells.b.a.a.ze.a(this.f, (Collection)var1.f);
      this.e = var1.e;
      this.l = var1.l;
      this.m = var1.m;
      this.c = var1.c;
      this.k = var1.k;
      Iterator var2 = var1.j.keySet().iterator();

      while(var2.hasNext()) {
         String var3 = (String)var2.next();
         this.a().put(var3, var1.a().get(var3));
      }

   }

   public String getName() {
      return this.m;
   }

   public void setName(String value) {
      this.m = value;
   }

   public String getValue() {
      return this.k != null ? com.aspose.cells.b.a.zr.a(this.k) : "";
   }

   public void setValue(String value) {
      this.k = value;
   }

   public String getType() {
      return this.d != null && this.d.startsWith("dms:") ? this.d.substring(4) : this.d;
   }

   public void setType(String value) {
      String var2 = value;
      if (value != null && value.indexOf(":") == -1) {
         var2 = "dms:" + value;
      }

      this.d = var2;
   }
}
